<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#INCLUDE FILE="config.asp"-->
<%
if(Session("SalesAccessLevel") <> 1 and Session("SalesAccessLevel") <> 4 ) then
	Response.Redirect("default.asp?msg=invalid")
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../styles.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<!-- DATE PICKER SCRIPT -->
<link type="text/css" href="../css/jquery-ui-1.8.21.custom.css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../js/jquery-ui-1.8.21.custom.min.js"></script>
<link rel="stylesheet" href="../css/colorbox.css" />
<script src="../js/jquery.colorbox.js"></script>
<script type="text/javascript">
	// ***** Session Timeout Warning and Redirect mReschke 2010-09-29 ***** //
function InitSessionTimer() {
    /* mReschke 2010-09-29 */
    warn_sec = <%=session.timeout%> * 60 * 1000;   	//Warning time in milliseconds
    timeout_sec = <%=session.timeout%> * 60 * 1000 + 60000;          //Actual timeout in milliseconds
    show_warning = true;
    epoch = new Date().getTime();
    CheckSessionStatus();
}
InitSessionTimer();
function CheckSessionStatus() {
    /* mReschke 2010-09-29 */
 
    //Check for session warning
    epoch2 = new Date().getTime();
     if (epoch2 > epoch + timeout_sec) {
        alert("Your session has timed out.");
        window.location.href = 'default.asp?msg=invalid_out';
    } else {
        down = setTimeout("CheckSessionStatus();", 2000);
    }
}
</script>
<script type="text/javascript">
	$(function() {
		$("#Date_VisitCalendar").datepicker();
		$(".datepicker").datepicker();
		LoadState();
		LoadState_Billing();
		
		$("#Pais").change(function(){
			LoadState();
		});
		
		// Update State to textbox
		$("#State").change(function(){
			$("#province").val($("#State").val());
		});
		
		// Billing
		$("#Pais_billing").change(function(){
			LoadState_Billing();
		});
		
		// Update State to textbox
		$("#State_billing").change(function(){
			$("#province_billing").val($("#State_billing").val());
		});
		
		// check "same as above" checkbox
		$('#addAdress').bind('change', function () {
			if ($(this).is(':checked')) {
				var address1 = $('#Address1').val();
				var address2 = $('#Address2').val();
				var city = $('#City').val();
				var postal = $('#Zip').val();
				
				$("#Direccion1_billing").val(address1);
				$("#Direccion2_billing").val(address2);
				$("#Ciudad_billing").val(city);
				$("#Postal_billing").val(postal);
				
				if ($("#Pais").val() == 3 || $("#Pais").val() == 4 || $("#Pais").val() == 7 || $("#Pais").val() == 8 || $("#Pais").val() == 9 || $("#Pais").val() ==11 || $("#Pais").val() == 14 ) {
					$("#State_billing").attr("disabled", true);
					$("#Pais_billing").val($("#Pais").val());
					$("#country_billing").val($("#country").val());
					$("#province_billing").val($("#province").val());
					$("#td_province_billing").removeAttr("style");
				} else {
					$("#Pais_billing").val($("#Pais").val());
					LoadState_Billing();
					$("#State_billing").val($("#State").val());
					$("#country_billing").val($("#country").val());
					$("#province_billing").val($("#province").val());
				}
			} else {
				$("#State_billing").attr("disabled", false);
				$("#Direccion1_billing").val('');
				$("#Direccion2_billing").val('');
				$("#Ciudad_billing").val('');
				$("#Postal_billing").val('');
				$("#State_billing").val('select');
				$("#Pais_billing").val('USA');
				$("#country_billing").val('');
				$("#province_billing").val('');
				$("#td_pais_billing").css("display","none");
				$("#td_province_billing").css("display","none");
			}
		});
	
	});
	
	function LoadState(){
		$.ajax({
			type:"POST",
			url: "updateDropdownList.asp",
			dataType: "html",
			data: {CountryID:$("#Pais").val()},
			async: false,
			success: function(data){
				if (data != "")
				{
					$("#State").html(data);
					$("#State").attr("disabled", false);
					$("#td_pais").css("display","none");
					$("#td_province").css("display","none");
					$("#country").val($("#Pais").val());
				}	
				else {
					$("#State").attr("disabled", true);
					$("#country").val($("#Pais").val());
					$("#province").val('');
					$("#td_province").removeAttr("style");
				}
			}
			});
		return false;
	}
	
	function LoadState_Billing(){
		$.ajax({
			type:"POST",
			url: "updateDropdownList.asp",
			dataType: "html",
			data: {CountryID:$("#Pais_billing").val()},
			async: false,
			success: function(data){
				if (data != ""){
					$("#State_billing").html(data);
					$("#State_billing").attr("disabled", false);
					$("#td_pais_billing").css("display","none");
					$("#td_province_billing").css("display","none");
					$("#country_billing").val($("#Pais_billing").val());
				}	
				else {
					$("#State_billing").attr("disabled", true);
					$("#country_billing").val($("#Pais_billing").val());
					$("#province_billing").val('');
					$("#td_province_billing").removeAttr("style");
				}
			}
			});
		return false;
	}
	
  <!-- END DATE PICKER SCRIPT -->
</script>

<style>
#divA,
#divB,
#divC,
#divD

{	
	display:none;
	
}	

</style>
<!-- demo only -->

<script language="javascript"> 
function toggle() {
	var ele = document.getElementById("divA");
	var text = document.getElementById("displayText");
	if(ele.style.display == "block") {
    		ele.style.display = "none";
		text.innerHTML = "+ Stay and Play";
  	}
	else {
		ele.style.display = "block";
		text.innerHTML = "- Stay and Play";
	}
} 
</script>

<!-- end demo only -->

<script language="javascript">
    function divHideShow(divToHideOrShow) 
    {
        var div = document.getElementById(divToHideOrShow);
		var text = document.getElementById("displayText");
        if (div.style.display == "block") 
        {
			div.style.display = "none";
			text.innerHTML = "+ Reservacion aditional / Additional Reservation";
        }
		else 
        {
			div.style.display = "block";
			text.innerHTML = "- Reservacion aditional / Additional Reservation";
		}
        
    }         
</script>

<script>
function SubmitForm()
{
	if ( (document.getElementById("arrival1").value == '' && document.getElementById("departure1").value != '') 
		|| (document.getElementById("arrival1").value != '' && document.getElementById("departure1").value == '') )
	{
		alert('Date 1 need to insert data');
		return false;
	}
	
	if ( (document.getElementById("arrival2").value == '' && document.getElementById("departure2").value != '') 
		|| (document.getElementById("arrival2").value != '' && document.getElementById("departure2").value == '') )
	{
		alert('Date 2 need to insert data');
		return false;
	}

	document.forms['add_prospect'].action='sales-add-prospect-process.asp';
	document.forms['add_prospect'].submit();
}

</script>


<title>Registro de Prospecto/Prospect Registration :: CostaBaja</title>
</head>
<body>

<div id="main_wrapper">
    	<div class="main_wrapper_margin">
        	
            <div class="admin_top_menu">
            <!--#INCLUDE FILE="sales_menu.asp"--> 
           	</div>
             
			<h1>Registro de Prospecto/Prospect Registration</h1>         
           
           <div class="clear"></div>
           
 <form action="sales-add-prospect-process.asp" type="post" id="add_prospect">
           <fieldset>
           	<legend>Informacion Personal/Personal Information
            </legend><table cellpadding="0" width="100%">
            	
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		 <label>Titulo / Title :</label><br />
                     	<select name="Title" id="Title">
			    		<option value="0">-- Seleccionar --</option>
            			<option value="Sr.">Sr</option>
            			<option value="Sra.">Sra</option>
            			<option value="Srta.">Srta</option>
            			<option value="Mr.">Mr</option>
            			<option value="Miss">Miss</option>
            			<option value="Ms">Ms</option>
                		<option value="Mrs.">Mrs</option>
            			</select>
                    </td>
                    <td width="33%">&nbsp;
                    </td>
                    <td width="33%">&nbsp;
                    
                    </td>
                </tr><!-- END ROW -->
                
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombre / First Name: </label><br />
					<input type="text" name="Fname" id="Fname" />
  					</td>
                    <td width="33%">
                    <label>Segundo Nombre / Middle Name: </label><br />
                    <input type="text" name="Mname" id="Mname"/>
            		</td>
                    <td width="33%">
                    <label>Apellido / Last Name: </label><br />
					<input type="text" name="Lname" id="Lname" />
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Telefono / Phone: </label><br />
					<input type="text" name="phone" id="phone" />
  					</td>
                    <td width="33%">
                    <label>E-mail: </label><br />
					<input type="text" name="email" id="email" />
            		</td>
                    <td width="33%">
                    		<label>Idioma / Language: </label><br />
            			<select name="language" id="language" name="language">
	            		<option value="0">Seleccionar/Select One</option>
            			<option value="1">Español</option>
                		<option value="2">English</option>
            			</select>
                    
                    </td>
                </tr><!-- END ROW -->
                
                  <tr> <!-- ROW -->
                    <td>
            	<label>Direccion 1 / Address 1: </label><br />
                <input type="text" name="Address1" id="Address1" />
            		</td>
                    <td>
            	<label>Direccion 2 / Address 2: </label><br />
                <input type="text" name="Address2" id="Address2" />
            		</td>
                    <td>
             <label>Ciudad / City: </label><br />
                <input type="text" name="City" id="City" />
            		</td>
                 </tr><!-- END ROW -->
                <tr> <!-- ROW -->
				<%
			sqlstring_Country = "SELECT  * FROM Country "
		set objConnect_Country = server.createObject("ADODB.Connection")   
		
		objConnect_Country.Open conStr

		set TblTemp_Country = server.createobject("Adodb.Recordset")
		TblTemp_Country.Open sqlstring_Country, objConnect_Country

		%>
			    <td>
				<label>Pais: </label><br />
					<select id="Pais">
					<option value="0">Seleccionar/Select One</option>
					<%
						Do Until TblTemp_Country.EOF
						id = TblTemp_Country("CountryID")
						Name = TblTemp_Country("CountryName")
				   %>
						<option value="<%=id%>"><%=Name%></option>
					<%
						TblTemp_Country.MoveNext
						Loop
					%>
            	</td>
                    <td>
            	<label>Estado / Provincia: </label><br />
				<select id="State">
                  <option value='select' selected="selected">Seleccione Estado</option>
                  
                </select>
            		</td>
				</tr>
					<tr>
					<td id="td_pais" style="display:none">
					<label>Country: </label><br />
					 <input type="text" name="Pais" id="country" value=""/>
					</td>
					<td id="td_province" style="display:none">
					<label>Estado / Provincia: </label><br />
					 <input type="text" name="Stado" id="province" value=""/>
					</td>
                    <td>
            	<label>C.P ./ Zip: </label><br />
                <input type="text" name="Zip" id="Zip" />
            		</td>
                 </tr><!-- END ROW -->
                    
                <tr> <!-- ROW -->
                    <td>
                  		<label>Comunicación / Communication: </label><br />
            			<select name="Communication" id="Communication">
            			<option value="">Seleccionar/Select One</option>
            			<option value="Telefono">Telefono</option>
                		<option value="E-Mail">E-Mail</option>
            			</select>
            		</td>
                    <td>
  <label>Fuente / Source: </label><br />
            			<select name="Source" id="Source" >
			    		<option value="">Seleccionar/Select One</option>
            			<option value="Golf Course">Golf Course</option>
                		<option value="Hotel">Hotel</option>
                        <option value="Beach Club">Beach Club</option>
                		<option value="Restaurant">Restaurant</option>
                        <option value="La Paz">La Paz</option>
                		<option value="Colgey">Colgey</option>
                		<option value="Marina">Marina</option>
                		<option value="Self Gen">Self Gen</option>
                		<option value="Walk In">Walk In</option>
                		<option value="Phone Call">Phone Call</option>
                		<option value="Discover CostaBaja">Discover CostaBaja</option>
                		<option value="Cabo">Cabo</option>
                		<option value="Other">Other</option>
                        </select>
            		</td>
                    <td>
          		&nbsp;
                    </td>
                 </tr><!-- END ROW -->
           
            </table>
            
           </fieldset>
          <fieldset><!-- Add new profile -->
           		<legend>Profile Detail</legend>
				<table cellpadding="0" width="100%">  
              <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Marital Status: </label><br />
					<input name="Marital" type="radio" value="Yes" /> 
                    Yes<br />
                     <input name="Marital" type="radio" value="No" />
                     No<br />
					</td>
                    <td width="33%">
            		<label>Own a boat: </label><br />
					<input name="boat" type="radio" value="Yes" /> 
                    Yes<br />
                     <input name="boat" type="radio" value="No" />
                     No<br />
					</td>
                    
                 <td width="33%">
                             <label>Feet: </label><br />
				<input type="text" name="feet" id="feet"/>
                    </td>
                    
                    </tr>
           
              
           <tr> <!-- ROW -->
                  <td width="33%">
            		<label>Play Golf: </label><br />
					<input name="golf" type="radio" value="Yes" /> 
                    Yes<br />
                     <input name="golf" type="radio" value="No" />
                     No<br />
					</td>
                    
                    <td>
				<label>Investment Range: </label><br />
					<select id="investment_Range" name="investment_Range">
						<option value="Unknown">Unknown</option>
            			<option value="115_130">115-130 thousand</option>
                		<option value="500_800">500-800 thousand</option>
                		<option value="81+">81 + thousand</option>
            	</td>
				<td width="33%">
                             <label>Occupation: </label><br />
				<input type="text" name="Occupation" id="Occupation"/>
                    </td>
					</tr>
				<tr>
                     <td>
                      <label>Kind of investment: </label><br />
						<select id="kindOfInvestment" name="kindOfInvestment">
						<option value="Unknown">Unknown</option>
            			<option value="lots">Lots</option>
                		<option value="townHome">Town Homes</option>
                		<option value="condos">Condos</option>
                		<option value="fractional">Fractional</option>
                    </td>
					
					<td>
                      <label>Annual Income: </label><br />
					<select id="Annual_Income" name="Annual_Income">
						<option value="Unknown">Unknown</option>
            			<option value="100_250">100 - 250 thousand</option>
                		<option value="251_350">251-350 thousand</option>
                		<option value="350+">350+ thousand</option>
                    </td>

                </tr><!-- END ROW --> 
				<tr> <!-- ROW -->

                    <td width="33%">&nbsp;
                    
                    </td>
                </tr><!-- END ROW -->
           </table>
			</fieldset>
	
              <fieldset>
           		<legend>Calendario de Visita/Vist Calendar</legend>
      
                  <table cellpadding="0" width="100%">
                  
                    <tr> <!-- ROW -->
                	<td width="33%" valign="top">
            		<label>Propiedad/Property :</label><br />
                    <input name="Property" type="radio" value="VM" /> 
                    VistaMar<br />
                     <input name="Property" type="radio" value="LC" />
                     Las Colinas<br />
					 <input name="Property" type="radio" value="Las Colinas" /> 
                    Lomas<br />
                     <input name="Property" type="radio" value="Residence Club" />
                     Residence Club</td>
                    <td width="33%" valign="top">
                  	<label>Incentivos/Give Aways :</label><br />
                    <input name="GiveAways" type="checkbox" value="Green Fees" /> Green Fees<br />
                     <input name="GiveAways" type="checkbox" value="Dinner" /> Dinner<br />
                     <input name="GiveAways" type="checkbox" value="Spa Days" /> Spa Days<br />
                     <input name="GiveAways" type="checkbox" value="Meals" /> Meals
                    </td>
                </tr><!-- END ROW -->
                
                <tr> <!-- ROW -->
                <td>        
                  <label>Fecha/Date: </label><br />
					<input type="text" id="Date_VisitCalendar" name = "Date_VisitCalendar"/>
                </td>
                <td>
               <label> Hora/Time:</label><br />
                <input type="text" id="hour" name = "hour" value="5" style="width:20px;min-width:0; text-align:center" /> : <input type="text" style="width:20px;min-width:0; text-align:center" id="minutes" name = "minutes" value="00" />
					<select name="timeday" id="timeday" style="min-width:60px; text-align:center" >
            			<option value="AM">AM</option>
                		<option value="PM">PM</option>
                        </select>
                </td>
               
                </tr><!-- END ROW -->
             
            </table>
				                
           </fieldset>
        
          
          <a id="displayText" href="javascript:toggle();">+ Stay and Play</a>
             <div id="divA">
            
          
          
<!-- SECOND PART OF THE FORM -->           
           <fieldset>
           		<legend>Detalles de Visita / Trip Details</legend>
           	<table cellpadding="0" width="100%">
                  
                    <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Originador / Creator:</label><br />
                    <input type="text" name="Creator" id="Creator" />
  					</td>
					<%
		sqlstring_Products = "SELECT  * FROM Products "
		set objConnect_Products = server.createObject("ADODB.Connection")   
		
		objConnect_Products.Open conStr

		set TblTemp_Products = server.createobject("Adodb.Recordset")
		TblTemp_Products.Open sqlstring_Products, objConnect_Products

		%>
                    <td width="33%">
                    <label>Producto / Product:</label><br />
                     	<select name="Product" id="Product" >
			    		<option value="">-- Seleccionar --</option>           			
					<%
						Do Until TblTemp_Products.EOF
						id = TblTemp_Products("ProductID")
						Name = TblTemp_Products("ProductName")
				   %>
						<option value="<%=id%>"><%=Name%></option>
					<%
						TblTemp_Products.MoveNext
						Loop
					%>       
						</select>
            		</td>
                    <td width="33%">
                    <label>Campaña / Campaign:</label><br />
					<input type="text" name="Campaign" id="Campaign" />
                    </td>
                </tr><!-- END ROW -->
                  
                  
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 1 / Date 1</label></td>
                    <td width="33%">
                    <label>Llegada / Arrival: </label><br />
                    <input type="text" id="arrival1" name="arrival1" class="datepicker"/>
            		</td>
                    <td width="33%">
                    <label>Salida / Departure: </label><br />
					<input type="text" id="departure1" name="departure1" class="datepicker"/>
                    </td>
                </tr><!-- END ROW -->
                
        
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 2 / Date 2</label></td>
                    <td width="33%">
                    <label>Llegada / Arrival: </label><br />
                    <input type="text" id="arrival2" name="arrival2" class="datepicker"/>
            		</td>
                    <td width="33%">
                    <label>Salida / Departure: </label><br />
					<input type="text" id="departure2" name="departure2" class="datepicker"/>
                    </td>
                </tr><!-- END ROW -->
            
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Numero de Acompañantes/Extra Guests: </label><br />
                    <select id="Extra_Guests" name="Extra_Guests" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
					<option value="9">9</option>
                    <option value="10">10</option>                    
                    </select>
  					</td>
                    <td width="33%">
                    <label>Numero de Niños / Kids: </label><br />
                    <select id="Kids" name="Kids" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
					<option value="9">9</option>
                    <option value="10">10</option>                    
                    </select>
                    </td>
                    <td width="33%">
                    <label>Noches Extras / Extra Nights: </label><br />
					<select id="Extra_Nights" name="Extra_Nights" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    </select>
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombres de Acompañantes / Extras Names: </label><br />
					<textarea cols="15" rows="5" id="Extra_Names" name="Extra_Names" ></textarea>
  					</td>
                    <td width="33%">
                    <label>Detalles de Habitacion / Room Details: </label><br />
					<textarea cols="15" rows="5" id="Room_Details" name="Room_Details" ></textarea>
            		</td>
                    <td width="33%">
                    
                    <label>Actividades / Activities: </label><br />
					<textarea cols="15" rows="5" id="Activities" name="Activities" ></textarea>
              
                    </td>
                </tr><!-- END ROW -->
             
            </table>
			
						
			<a id="displayText" href="javascript:divHideShow('divB');">+ Reservacion aditional</a>
            <br />
            <div id="divB">
			
             <hr/>
            <h3>Extra 1</h3>
			<table cellpadding="0" width="100%">
                   <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Originador / Creator:</label><br />
                    <input type="text" name="Creator_divB" id="Creator_divB" />
  					</td>
                    <%
		set TblTemp_Products_Extra1 = server.createobject("Adodb.Recordset")
		TblTemp_Products_Extra1.Open sqlstring_Products, objConnect_Products

		%>
                    <td width="33%">
                    <label>Producto / Product:</label><br />
                     	<select name="Product_divB" id="Product_divB" >
			    		<option value="">-- Seleccionar --</option>           			
					<%
						Do Until TblTemp_Products_Extra1.EOF
						id = TblTemp_Products_Extra1("ProductID")
						Name = TblTemp_Products_Extra1("ProductName")
				   %>
						<option value="<%=id%>"><%=Name%></option>
					<%
						TblTemp_Products_Extra1.MoveNext
						Loop
					%>       
						</select>
            		</td>
                    <td width="33%">
                    <label>Campaña / Campaign:</label><br />
					<input type="text" name="Campaign_divB" id="Campaign_divB" />
                    </td>
                </tr><!-- END ROW -->
                  
                  
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 1 / Date 1</label></td>
                    <td width="33%">
                    <label>Llegada / Arrival: </label><br />
                    <input type="text" id="arrival1_divB" name="arrival1_divB" class="datepicker"/>
            		</td>
                    <td width="33%">
                    <label>Salida / Departure: </label><br />
					<input type="text" id="departure1_divB" name="departure1_divB" class="datepicker"/>
                    </td>
                </tr><!-- END ROW -->
                
        
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 2 / Date 2</label></td>
                    <td width="33%">
                    <label>Llegada / Arrival: </label><br />
                    <input type="text" id="arrival2_divB" name="arrival2_divB" class="datepicker"/>
            		</td>
                    <td width="33%">
                    <label>Salida / Departure: </label><br />
					<input type="text" id="departure2_divB" name="departure2_divB" class="datepicker"/>
                    </td>
                </tr><!-- END ROW -->
            
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Numero de Acompañantes/Extra Guests: </label><br />
                    <select id="Extra_Guests_divB" name="Extra_Guests_divB" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
					<option value="10">10</option>
                    <option value="10">10</option>                    
                    </select>
  					</td>
                    <td width="33%">
                    <label>Numero de Niños / Kids: </label><br />
                    <select id="Kids_divB" name="Kids_divB" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
					<option value="9">9</option>
                    <option value="10">10</option>                    
                    </select>
                    </td>
                    <td width="33%">
                    <label>Noches Extras / Extra Nights: </label><br />
					<select id="Extra_Nights_divB" name="Extra_Nights_divB" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    </select>
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombres de Acompañantes / Extras Names: </label><br />
					<textarea cols="15" rows="5" id="Extra_Names_divB" name="Extra_Names_divB" ></textarea>
  					</td>
                    <td width="33%">
                    <label>Detalles de Habitacion / Room Details: </label><br />
					<textarea cols="15" rows="5" id="Room_Details_divB" name="Room_Details_divB" ></textarea>
            		</td>
                    <td width="33%">
                    
                    <label>Actividades / Activities: </label><br />
					<textarea cols="15" rows="5" id="Activities_divB" name="Activities_divB" ></textarea>
              
                    </td>
                </tr><!-- END ROW -->                 
            </table>
            
                      <br />
<a id="displayText" href="javascript:divHideShow('divC');">+ Reservacion aditional</a>
            <br />
                        
            </div><!-- END  EXTRA INFO -->
            
            
            
            <div id="divC">
<hr/>
			<h3>Extra 2</h3>

            <table cellpadding="0" width="100%">
                          <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Originador / Creator:</label><br />
                    <input type="text" name="Creator_divC" id="Creator_divC" />
  					</td>
                    <%
		set TblTemp_Products_Extra2 = server.createobject("Adodb.Recordset")
		TblTemp_Products_Extra2.Open sqlstring_Products, objConnect_Products

		%>
                    <td width="33%">
                    <label>Producto / Product:</label><br />
                     	<select name="Product_divC" id="Product_divC" >
			    		<option value="">-- Seleccionar --</option>           			
					<%
						Do Until TblTemp_Products_Extra2.EOF
						id = TblTemp_Products_Extra2("ProductID")
						Name = TblTemp_Products_Extra2("ProductName")
				   %>
						<option value="<%=id%>"><%=Name%></option>
					<%
						TblTemp_Products_Extra2.MoveNext
						Loop
					%>       
						</select>
            		</td>
                    <td width="33%">
                    <label>Campaña / Campaign:</label><br />
					<input type="text" name="Campaign_divC" id="Campaign_divC" />
                    </td>
                </tr><!-- END ROW -->
                  
                  
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 1 / Date 1</label></td>
                    <td width="33%">
                    <label>Llegada / Arrival: </label><br />
                    <input type="text" id="arrival1_divC" name="arrival1_divC" class="datepicker"/>
            		</td>
                    <td width="33%">
                    <label>Salida / Departure: </label><br />
					<input type="text" id="departure1_divC" name="departure1_divC" class="datepicker"/>
                    </td>
                </tr><!-- END ROW -->
                
        
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 2 / Date 2</label></td>
                    <td width="33%">
                    <label>Llegada / Arrival: </label><br />
                    <input type="text" id="arrival2_divC" name="arrival2_divC" class="datepicker"/>
            		</td>
                    <td width="33%">
                    <label>Salida / Departure: </label><br />
					<input type="text" id="departure2_divC" name="departure2_divC" class="datepicker"/>
                    </td>
                </tr><!-- END ROW -->
            
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Numero de Acompañantes/Extra Guests: </label><br />
                    <select id="Extra_Guests_divC" name="Extra_Guests_divC" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
					<option value="9">9</option>
                    <option value="10">10</option>                    
                    </select>
  					</td>
                    <td width="33%">
                    <label>Numero de Niños / Kids: </label><br />
                    <select id="Kids_divC" name="Kids_divC" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
					<option value="9">9</option>
                    <option value="10">10</option>                    
                    </select>
                    </td>
                    <td width="33%">
                    <label>Noches Extras / Extra Nights: </label><br />
					<select id="Extra_Nights_divC" name="Extra_Nights_divC" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    </select>
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombres de Acompañantes / Extras Names: </label><br />
					<textarea cols="15" rows="5" id="Extra_Names_divC" name="Extra_Names_divC" ></textarea>
  					</td>
                    <td width="33%">
                    <label>Detalles de Habitacion / Room Details: </label><br />
					<textarea cols="15" rows="5" id="Room_Details_divC" name="Room_Details_divC" ></textarea>
            		</td>
                    <td width="33%">
                    
                    <label>Actividades / Activities: </label><br />
					<textarea cols="15" rows="5" id="Activities_divC" name="Activities_divC" ></textarea>
              
                    </td>
                </tr><!-- END ROW -->    
             
            </table>
           
                                  <br />
<a id="displayText" href="javascript:divHideShow('divD');">+ Reservacion aditional</a>
            <br />
                        
            
            </div><!-- END  EXTRA INFO -->
            
                      <div id="divD">
<hr/>
		<h3>Extra 3</h3>
		
            <table cellpadding="0" width="100%">
                         <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Originador / Creator:</label><br />
                    <input type="text" name="Creator_divD" id="Creator_divD" />
  					</td>
					<%
		set TblTemp_Products_Extra3 = server.createobject("Adodb.Recordset")
		TblTemp_Products_Extra3.Open sqlstring_Products, objConnect_Products

		%>
                    <td width="33%">
                    <label>Producto / Product:</label><br />
                     	<select name="Product_divD" id="Product_divD" >
			    		<option value="">-- Seleccionar --</option>           			
					<%
						Do Until TblTemp_Products_Extra3.EOF
						id = TblTemp_Products_Extra3("ProductID")
						Name = TblTemp_Products_Extra3("ProductName")
				   %>
						<option value="<%=id%>"><%=Name%></option>
					<%
						TblTemp_Products_Extra3.MoveNext
						Loop
					%>       
						</select>
            		</td>
                    <td width="33%">
                    <label>Campaña / Campaign:</label><br />
					<input type="text" name="Campaign_divD" id="Campaign_divD" />
                    </td>
                </tr><!-- END ROW -->
                  
                  
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 1 / Date 1</label></td>
                    <td width="33%">
                    <label>Llegada / Arrival: </label><br />
                    <input type="text" id="arrival1_divD" name="arrival1_divD" class="datepicker"/>
            		</td>
                    <td width="33%">
                    <label>Salida / Departure: </label><br />
					<input type="text" id="departure1_divD" name="departure1_divD" class="datepicker"/>
                    </td>
                </tr><!-- END ROW -->
                
        
                     <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Fecha 2 / Date 2</label></td>
                    <td width="33%">
                    <label>Llegada / Arrival: </label><br />
                    <input type="text" id="arrival2_divD" name="arrival2_divD" class="datepicker"/>
            		</td>
                    <td width="33%">
                    <label>Salida / Departure: </label><br />
					<input type="text" id="departure2_divD" name="departure2_divD" class="datepicker"/>
                    </td>
                </tr><!-- END ROW -->
            
                <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Numero de Acompañantes/Extra Guests: </label><br />
                    <select id="Extra_Guests_divD" name="Extra_Guests_divD" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
					<option value="9">9</option>
                    <option value="10">10</option>                    
                    </select>
  					</td>
                    <td width="33%">
                    <label>Numero de Niños / Kids: </label><br />
                    <select id="Kids_divD" name="Kids_divD" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
					<option value="9">9</option>
                    <option value="10">10</option>                    
                    </select>
                    </td>
                    <td width="33%">
                    <label>Noches Extras / Extra Nights: </label><br />
					<select id="Extra_Nights_divD" name="Extra_Nights_divD" >
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    </select>
                    </td>
                </tr><!-- END ROW -->
                
                 <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombres de Acompañantes / Extras Names: </label><br />
					<textarea cols="15" rows="5" id="Extra_Names_divD" name="Extra_Names_divD" ></textarea>
  					</td>
                    <td width="33%">
                    <label>Detalles de Habitacion / Room Details: </label><br />
					<textarea cols="15" rows="5" id="Room_Details_divD" name="Room_Details_divD" ></textarea>
            		</td>
                    <td width="33%">
                    
                    <label>Actividades / Activities: </label><br />
					<textarea cols="15" rows="5" id="Activities_divD" name="Activities_divD" ></textarea>
              
                    </td>
                </tr><!-- END ROW -->    
            </table>
          
            
            </div><!-- END  EXTRA INFO -->
				                
				                
           </fieldset><!-- END OF FADED -->
           
            <fieldset><!-- TRANSPORTACION -->
           		<legend>Transporte</legend>
                
                           <%
			sqlstring_Airlines = "SELECT  * FROM Airlines "
		set objConnect_Airlines = server.createObject("ADODB.Connection")   
		
		objConnect_Airlines.Open conStr

		set TblTemp_Airlines = server.createobject("Adodb.Recordset")
		TblTemp_Airlines.Open sqlstring_Airlines, objConnect_Airlines

		%>
           <table cellpadding="0" width="100%">     
           <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Aereolinea: </label><br />
					<select name="Aereolinea" id="Aereolinea">
	            		<option value="0">-- Seleccionar --</option>
            			<%
		Do Until TblTemp_Airlines.EOF

			id = TblTemp_Airlines("AirlineID")
			Name = TblTemp_Airlines("AirlineName")
		   %>
            			<option value="<%=id%>"><%=Name%></option>
			<%
	TblTemp_Airlines.MoveNext
	Loop

%>       
                       </select>
                       </td>
			<%
			sqlstring_Airport = "SELECT  * FROM Airports "
		set objConnect_Airport = server.createObject("ADODB.Connection")   
		
		objConnect_Airport.Open conStr

		set TblTemp_Airport = server.createobject("Adodb.Recordset")
		TblTemp_Airport.Open sqlstring_Airport, objConnect_Airport

		%>
                    <td width="33%">
                             <label>Aereopuerto: </label><br />
					<select name="Aereopuerto" id="Aereopuerto">
	            		<option value="0">-- Seleccionar --</option>
						<%
		Do Until TblTemp_Airport.EOF

			id = TblTemp_Airport("AirportID")
			Name = TblTemp_Airport("AirportName")
		   %>
            			<option value="<%=id%>"><%=Name%></option>
			<%
	TblTemp_Airport.MoveNext
	Loop

%>       
            		</select>
                    </td>
                    
                   <td width="33%" valign="top">
                    <label>Necesitan Transporte?/ Need Transport</label><br />
					<select id="Need_Transport" name="Need_Transport" >
	            		<option value="-1">-- Seleccionar --</option>
            			<option value="SI">SI</option>
                		<option value="NO">NO</option>
            		</select>
            		</td>
                </tr><!-- END ROW --> 
                
                 <tr> <!-- ROW -->
                	<td width="33%" valign="top">
            		<label>Hora Aproximada de llegada / Aprox Arrival Time: </label><br />
					<input type="text" name="Aprox_Arrival_Time" name = "Aprox_Arrival_Time"/>
                    
                    
                       </td>
                    <td width="33%">&nbsp;
                  
                    </td>
                    
                   <td width="33%">&nbsp;
                 
            		</td>
                </tr><!-- END ROW --> 
                
                 <tr><!-- ROW -->
                <td colspan="3">
                <label>Notas / Notes: </label><br />
                <textarea cols="50" rows="3" name="Notes" id="Notes"></textarea>
                </td>
                </tr><!-- END ROW -->
                
                <tr><!-- ROW -->
                <td colspan="3">
                <label>Información Pendiente / Pending Info: </label><br />
                <textarea cols="50" rows="3" name="Pending_info" id="Pending_info"></textarea>
                </td>
                </tr><!-- END ROW -->
                
                
                  <tr> <!-- ROW -->
                	
                    <td width="33%">&nbsp;
                    
                    </td>
                </tr><!-- END ROW -->
           
           </table>
           </fieldset><!-- END TRANSPORTACION -->
           
           
            <fieldset><!-- CREDIT CARD -->
           		<legend>Tarjeta de Credito / CC Info</legend>
                
           <table cellpadding="0" width="100%">  
              <tr> <!-- ROW -->
                	<td width="33%">
            		<label>Nombre: </label><br />
					<input type="text" name="NombreCard" id="NombreCard" />   </td>
                    <td width="33%">
                             <label>Tipo: </label><br />
					<select name="Tipo" id="Tipo">
	            		<option value="">-- Seleccionar --</option>
            			<option value="Visa">Visa</option>
                		<option value="Master Card">Master Card</option>
                        <option value="American Express">American Express</option>
                        <option value="Discover">Discover</option>
                       </select>
                    </td>
                    
                 <td width="33%">
                             <label>Numero de Tarjeta: </label><br />
				<input type="text" name="NumerodeTarjetaCard" id="NumerodeTarjetaCard"/>
                    </td>
                    
                    </tr>
           
              
           <tr> <!-- ROW -->
                  <td width="33%">
                    <label>Fecha de Expiracion (MM/YY)</label><br />
					<input type="text" name="FechaDeExpiracion" id="FechaDeExpiracion"/>
            		</td>
                    
                    <td>
                      <label>Codigo de Seguridad: </label><br />
				<input type="text" name="CodigodeSeguridad" id="CodigodeSeguridad"/>
                    </td>
					</tr>
					<tr></tr>
					<tr></tr>
				<tr>
                     <td>
                      <label>Billing Address: </label>
					</td>
					<td>
						<input type="checkbox" name="addAdress" id="addAdress"/>
						<label>Same as above</label>
                    </td>

                </tr><!-- END ROW --> 
				<tr></tr>
					<tr></tr>
					<tr> <!-- ROW -->
                    <td>
            	<label>Direccion 1: </label><br />
                <input type="text" name="Direccion1_billing" id="Direccion1_billing" value=""/>
            		</td>
                    <td>
            	<label>Direccion 2: </label><br />
                <input type="text" name="Direccion2_billing" id="Direccion2_billing" value=""/>
            		</td>
                    <td>
             <label>Ciudad: </label><br />
                <input type="text"name="Ciudad_billing" id="Ciudad_billing" value=""/>
            		</td>
                 </tr><!-- END ROW -->
				 
				                 <tr> <!-- ROW -->
				<%
			sqlstring_Country = "SELECT  * FROM Country "
		set objConnect_Country = server.createObject("ADODB.Connection")   
		
		objConnect_Country.Open conStr

		set TblTemp_Country = server.createobject("Adodb.Recordset")
		TblTemp_Country.Open sqlstring_Country, objConnect_Country

		%>
			    <td>
				<label>Pais: </label><br />
					<select id="Pais_billing">
					<option value="0">Seleccionar/Select One</option>
					<%
						Do Until TblTemp_Country.EOF
						id = TblTemp_Country("CountryID")
						Name = TblTemp_Country("CountryName")
				   %>
						<option value="<%=id%>"><%=Name%></option>
					<%
						TblTemp_Country.MoveNext
						Loop
					%>
            	</td>
                    <td>
            	<label>Estado / Provincia: </label><br />
				<select id="State_billing">
                  <option value='select' selected="selected">Seleccione Estado</option>
                  
                </select>
            		</td>
				</tr>
					<tr>
					<td id="td_pais_billing" style="display:none">
					<label>Country: </label><br />
					 <input type="text" name="Pais_billing" id="country_billing" value="USA"/>
					</td>
					<td id="td_province_billing" style="display:none">
					<label>Estado / Provincia: </label><br />
					 <input type="text" name="Stado_billing" id="province_billing" value=""/>
					</td>
                    <td>
            	<label>Codigo Postal: </label><br />
                <input type="text"name="Postal_billing" id="Postal_billing" value=""/>
            		</td>
                   
                 </tr><!-- END ROW -->
				</tr>
				
				<tr> <!-- ROW -->

                    <td width="33%">&nbsp;
                    
                    </td>
                </tr><!-- END ROW -->
           <tr> <!-- ROW -->
                	
                    <td valign="bottom" align="center" colspan="3">
                    
                     
            		</td>
                    <td width="33%">&nbsp;
                    
                    </td>
                </tr><!-- END ROW -->
           </table>
           </fieldset><!-- END CRADIT CARD -->
 
	</div><!-- END #main_wrapper -->
	<br /><div id="button_submit" style="text-align:center">
                    <br />
                    <input type="submit"  value="Guardar / Save"/>
            		</div> </form>	
    </div>
</div>
         <!-- FOOTER -->
         
         <!--#INCLUDE FILE="sales_footer.asp"-->
         
         <!-- END FOOTER -->   

</body>
</html>
